package cn.ch.pet.mapper;

import cn.ch.pet.domain.Product;
import cn.ch.basic.mapper.BaseMapper;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Why
 * @since 2022-03-01
 */
public interface ProductMapper extends BaseMapper<Product> {

    /**
     * 宠物下架
     * @param map ids  offSaleTime下架时间
     */
    void offSale(Map<String, Object> map);

    /**
     * 宠物上架
     * @param map
     */
    void onSale(Map<String, Object> map);
}
